{% extends 'base.html' %}

{% block title %}Affiliates List{% endblock %}

{% block content %}
<h1>Affiliates</h1>

<ul>
{% for affiliate in affiliate_list %}
<li>{{affiliate}} <a href="{{affiliate.id}}/edit/">edit</a></li>
{% endfor %}
</ul>

{% endblock %}